package com.itheima.dao;

import com.itheima.pojo.PictureSort;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

/**
 * @author hrz
 * @version 1.0
 * @date 2020-08-04 19:28
 */
public interface PictureSortMapper extends Mapper<PictureSort> {
    /**
     * 获取最大排序值
     * @return
     */
    @Select("SELECT MAX(sort) FROM t_picture_sort ")
    Integer getMaxSort();
}
